class MyThread extends Thread{
    @Override
    public void run() {
        System.out.println("第一种创建线程的方法");
    }
}

public class Demo01 {
    public static void main1(String[] args) {
        MyThread thread = new MyThread();
        thread.start();
    }
}
